package com.ruoyi.pack.domain.dto;

import java.math.BigDecimal;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * 项目物料操作DTO
 * 
 * @author ruoyi
 */
public class ProjectMaterialOperationDto
{
    /** 操作类型（create-新增 update-修改 delete-删除） */
    @NotBlank(message = "操作类型不能为空")
    private String operationType;

    /** 项目物料ID（修改和删除操作时必填） */
    private Long projectMaterialId;

    /** 物料编码 */
    @Size(max = 50, message = "物料编码长度不能超过50个字符")
    private String materialCode;

    /** 物料名称 */
    @Size(max = 100, message = "物料名称长度不能超过100个字符")
    private String materialName;

    /** 器具型号编码 */
    @Size(max = 50, message = "器具型号编码长度不能超过50个字符")
    private String containerMaterialCode;

    /** 器具型号名称 */
    @Size(max = 100, message = "器具型号名称长度不能超过100个字符")
    private String containerMaterialName;

    /** 内衬方案 */
    @Size(max = 500, message = "内衬方案长度不能超过500个字符")
    private String liningScheme;

    /** 收容数 */
    private Integer capacityCount;

    /** 单件物料体积（立方米） */
    private BigDecimal volume;

    /** 单件物料净重（千克） */
    private BigDecimal weight;

    /** 单件物料货值（元） */
    private BigDecimal goodsValue;

    public String getOperationType()
    {
        return operationType;
    }

    public void setOperationType(String operationType)
    {
        this.operationType = operationType;
    }

    public Long getProjectMaterialId()
    {
        return projectMaterialId;
    }

    public void setProjectMaterialId(Long projectMaterialId)
    {
        this.projectMaterialId = projectMaterialId;
    }

    public String getMaterialCode()
    {
        return materialCode;
    }

    public void setMaterialCode(String materialCode)
    {
        this.materialCode = materialCode;
    }

    public String getMaterialName()
    {
        return materialName;
    }

    public void setMaterialName(String materialName)
    {
        this.materialName = materialName;
    }

    public String getContainerMaterialCode()
    {
        return containerMaterialCode;
    }

    public void setContainerMaterialCode(String containerMaterialCode)
    {
        this.containerMaterialCode = containerMaterialCode;
    }

    public String getContainerMaterialName()
    {
        return containerMaterialName;
    }

    public void setContainerMaterialName(String containerMaterialName)
    {
        this.containerMaterialName = containerMaterialName;
    }

    public String getLiningScheme()
    {
        return liningScheme;
    }

    public void setLiningScheme(String liningScheme)
    {
        this.liningScheme = liningScheme;
    }

    public Integer getCapacityCount()
    {
        return capacityCount;
    }

    public void setCapacityCount(Integer capacityCount)
    {
        this.capacityCount = capacityCount;
    }

    public BigDecimal getVolume()
    {
        return volume;
    }

    public void setVolume(BigDecimal volume)
    {
        this.volume = volume;
    }

    public BigDecimal getWeight()
    {
        return weight;
    }

    public void setWeight(BigDecimal weight)
    {
        this.weight = weight;
    }

    public BigDecimal getGoodsValue()
    {
        return goodsValue;
    }

    public void setGoodsValue(BigDecimal goodsValue)
    {
        this.goodsValue = goodsValue;
    }
} 